#!/bin/bash
npm run build-only
sudo cp -r /data/docker/map/app/html /data/docker/map/app/html$(date +'%Y%m%d_%H:%M:%S')
sudo rm -rf /data/docker/map/app/html/*
sudo cp -r ./app/dist/* /data/docker/map/app/html/
sudo docker exec -it mapapp nginx -s reload